package fieldgame;

public class Inventory {
	private int balance;

	public void reset(int startBalance) {
		this.balance = startBalance;
	}

	public void addBalance(int balance) {
		this.balance += balance;
		if (this.balance < 0) {this.balance = 0;}
	}

	public int getBalance() {
		return balance;
	}

}
